<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="comites index">
<h2><?php __('Registros');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('tipo_comite');?></th>
			<th><?php echo $this->Paginator->sort('fecha');?></th>
			<th><?php echo $this->Paginator->sort('lugar');?></th>
			<th><?php echo $this->Paginator->sort('facilitador');?></th>			
			<th><?php echo $this->Paginator->sort('hora_inicio');?></th>				
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($registros as $comite):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<?php if($comite['identificador']==0){	?>
	<tr<?php echo $class;?>>	
		<td><?php echo $comite['Comite']['tipo_comite']; ?>&nbsp;</td>			
		<td><?php echo $comite['Comite']['fecha']; ?>&nbsp;</td>
		<td><?php echo $comite['Comite']['lugar']; ?>&nbsp;</td>
		<td><?php echo $comite['Comite']['facilitador']; ?>&nbsp;</td>
		<td><?php echo $comite['Comite']['hora_inicio']; ?>&nbsp;</td>				
		<td class="actions">
			<?php echo $this->Html->link(__('Obtener Formulario', true), array('action' => 'formulario3', $comite['Comite']['id']));?>							
		</td>
	</tr>
<?php } endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>